package com.todoclipse.dao;

import java.util.Set;
import java.util.TimeZone;

import com.todoclipse.common.DaoException;

public interface UserDao {

	/**
	 * Registers a new user
	 * @param email
	 * @param password
	 * @param fullName
	 * @param timeZone
	 * @return
	 * @throws DaoException
	 */
	public abstract String userRegister(String email, String password,
			String fullName, TimeZone timeZone) throws DaoException;

	public abstract String userLogin(String email, String password) throws DaoException;

	public abstract Set<TimeZone> getTimezones();

	public abstract String changeEmail(String email, String token) throws DaoException;

	public abstract String changeFullName(String fullName, String token) throws DaoException;

	public abstract String changePassword(String password, String token) throws DaoException;

}